package com.licheng.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 班级分页查询条件
 */
@Data
public class ClazzPageQuery {
    //clazzs?name=java&begin=2023-01-01&end=2023-06-30&page=1&pageSize=5

    private String name;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;

    Integer page = 1;
    Integer pageSize = 10;
}